var data = require('../data/mock_data.json')
module.exports = function(apiRouter){
  var  seller = data.seller
  var  goods = data.goods
  var  ratings = data.ratings
  apiRouter.get('/seller',function(req,res){

      res.json({
        seller
      })
  })

  apiRouter.get('/goods',function(req,res){
    res.json({
      goods
    })
  })

  apiRouter.get('/ratings',function(req,res){
    res.json({
      ratings
    })
  })
}